<script setup lang="ts">
import { useThemeStore } from "@/stores"
import { useRoute } from 'vue-router'

const themeStore = useThemeStore()
const route = useRoute()


</script>

<template>
  <n-config-provider :theme="themeStore.themeName">
    <router-view :key="route.fullPath" />
  </n-config-provider>
</template>

<style scoped></style>
